package br.edu.ufcg.lsd.wbis.control.exception;

public class BusinessValidationException extends WBISException {

	private static final long serialVersionUID = 5196312407201456028L;

	private final ErrorType errorType;

	public BusinessValidationException() {
		this(ErrorType.UNKNOWN_ERROR);
	}

	public BusinessValidationException(ErrorType errorType) {
		super();
		this.errorType = errorType;
	}

	public ErrorType getErrorType() {
		return this.errorType;
	}

}
